package com.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.List;

@Data
public class Menu {

  private Long menuId;
  private String menuName;
  private String menuUrl;
  private String componentName;
  private String menuImgClass;
  private String componentView;
  private Long mgr;
  private String msg;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Timestamp buildDate;
  private List<Menu> menuChilds;


}
